package com.example.mydemo.service;

import com.example.mydemo.entity.MenuRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mydemo.entity.domain.MenuRoleVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author syf
 * @since 2025-05-28
 */
@Service
public interface IMenuRoleService extends IService<MenuRole> {
    List<MenuRoleVO> selectByRoleName(String name);
    List<MenuRoleVO> selectByRoleId(Long id);
    List<MenuRoleVO> selectName();

    void saveUser(MenuRoleVO menuRoleVO);

    void delete(Long id);

    int deleteByRoleId(Long id);
}
